package com.shuqing.download.engine.distribute.dispatch.monitor;

import com.shuqing.download.engine.DefaultHandler;
import com.shuqing.download.engine.constants.TaskStatusEnum;
import com.shuqing.download.engine.distribute.dispatch.TaskContext;

/**
 * 通知
 * @author wangshuqing
 * @date 2023/3/4 10:34
 */
public interface Notify extends DefaultHandler {

    /**
    * 消息通知
    * @date 2023/3/4 11:26
    * @author wangshuqing
    * @param context
    * @param statusEnum
    * @param msg
    * */
    void discover(TaskContext context, TaskStatusEnum statusEnum,String msg);
}
